<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/5/13
  Time: 10:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <link rel="stylesheet" href="/css/login.css">

    <script src="/js/jquery.js"></script>
    <script src="/js/myAjax.js"></script>
    <script src="/js/login.js" charset="UTF-8" type="text/javascript" language="JavaScript"></script>
</head>

<body>
<div class="login">
    <div>
        用户名：<input type="text" id="username" name="username"><span id="usernameSpan"></span>
    </div>
    <div>
        密&nbsp;&nbsp;&nbsp;&nbsp;码：<input type="password" id="password" name="password"><span id="passwordSpan"></span>
    </div>
    <div>
        验证码：<input type="text" id="code" style="width: 60px">
        <img src="http://localhost:8082/code" onclick="changeImg(this)" width="100px" height="30px">
        <%--        当点击链接的时候，如果当期链接和上次链接是一样，那就不需要刷新--%>
    </div>
    <div>
        <input type="button" value="登录" onclick="login()">&nbsp;&nbsp;&nbsp;&nbsp;
        <input type="button" value="注册" onclick="toRegisterPage()">
        <%--        <a href="/back/userregister.jsp">注册</a>--%>
    </div>
</div>

</body>
</html>
